<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>对一个字符串和两个数字相加</title>
</head>

<body>
    <h2>JavaScript 数据类型</h2>
    <p>JavaScript 从左向右计算表达式。不同的次序会产生不同的结果：</p>
    <p id="demo"></p>
    <script>
        var x = "Porsche" + 911 + 7;
        document.getElementById("demo").innerHTML = x;
    </script>
</body>

</html>